import Vue from 'vue'
import App from './main.vue'
import router from './config/routers.js'
import store from './config/store.js'
import './assets/main.less'
import Axios from 'admin/config/axios';

import {Message,Modal,Notice,Spin} from 'iview'


Vue.prototype.$Message = Message
Vue.prototype.$Modal   = Modal
Vue.prototype.$Notice  = Notice
Vue.prototype.$Spin    = Spin
Vue.prototype.Axios    = Axios;
Vue.config.debug = false

new Vue({
    el: '#app',
    router: router,
    store,
    render: h => h(App)
})